package com.etc.service;

import java.util.ArrayList;

import com.etc.entity.User;
import com.etc.tools.PageData;

public interface UserService {
	 int deleteByPrimaryKey(Integer uid);

	    int insert(User record);

	    int insertSelective(User record);

	    User selectByPrimaryKey(Integer uid);

	    int updateByPrimaryKeySelective(User record);

	    int updateByPrimaryKey(User record);
	    PageData<User> getUsersBypage(int page,int pagesize,String content);
	    
	    boolean changeStatus(User record);
	    
	    boolean nameCheck(String name) ;
	    
	    User logining(String name);
          
	    boolean deleteUsers(int[] arr);
}
